package com.merry.myenum;

public class EnumTest {
    public static void main(String[] args) {
        //调用不使用枚举创建的单例对象。
        String name = Season.AUTUMN.getName();
        System.out.println(SeasonEnum.AUTUMN.toString());
        System.out.println(SeasonEnum.SUMMER.getCnName());
    }

}
